package cn.qf.shop.service;


import cn.qf.shop.pojo.entity.Complaints;

import cn.qf.shop.pojo.qo.ComplaintsQO;

import java.util.List;

public interface ComplaintsService {
    //添加投诉用户表
    int addComp(ComplaintsQO complaintsQO);
    //修改投诉用户表
    int  updateComp(ComplaintsQO complaintsQO);
    //删除单个投诉用户表
    int  deleteComp(int compId) ;
    //删除全部的投诉用表
    int deleteAllComp(List<Integer> compIds);
    //展示全部信息
    List<Complaints> showComp();
    //根据关键字查询
    List<ComplaintsQO> COMPLAINTSList(String keyword, String createTime, String updateTime, int limit, int offset);
}
